<?php
class NoBusinessBase_Exception_Status extends Zend_Exception
{
   protected $mStatus = null;
   
   public function __construct(NoBusinessBase_Utility_Status $pStatus)
   {
      $this->mStatus = $pStatus;
      $this->message = $pStatus->getChildrenStatusAsString() . " - " . $pStatus->getMessage();
   }

   public function getStatus()
   {
      return $this->mStatus;
   }
}
